This function returns number type and number of elements (count) of a point attribute.
Result = EOS_PT_ATTRINFO( pointID, attrname, numbertype, count)
Returns SUCCEED (0) if successful and FAIL (–1) otherwise.
Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.
Attribute name (string).
A named variable that will contain the HDF type of the attribute value (long).
A named variable that will contain the number of total bytes in attribute (long).
None
In this example, we return information about the ScalarFloat attribute:
status = EOS_PT_ATTRINFO(pointID, "ScalarFloat", nt, count)
5.2 |
Introduced |